56208ea712e2dba4b7edb9c13cce31d57a075edd,DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java,IndexCreator,createDatabaseIndexesStructure,#,310

Before Change


			mapFile.getParentFile().mkdirs();
			File tempDBMapFile = new File(workingDir, getTempMapDBFileName());
			dialect.removeDatabase(tempDBMapFile);
			mapConnection = getDatabaseConnection(tempDBMapFile.getAbsolutePath());
			mapConnection.setAutoCommit(false);
		}

After Change


			mapFile.getParentFile().mkdirs();
			File tempDBMapFile = new File(workingDir, getTempMapDBFileName());
			mapDBDialect.removeDatabase(tempDBMapFile);
			mapConnection = (Connection) getDatabaseConnection(tempDBMapFile.getAbsolutePath(), mapDBDialect);
			mapConnection.setAutoCommit(false);
		}